React Navigation v6
v5からのupgrade
思ったより大変じゃなかったmrsekut.icon
propsの変更が多い
今までoptions内の項目だったものが、外に出たなど
propsを移動させていけばとりあえず動く状態にはなった
Road map
Overwrite params instead of merging for all actions except setParams
なんでこんなことするの?
v6
Fundamentals
Getting started
Hello React Navigation
Moving between screens
Passing parameters to routes
Configuring the header bar
Header buttons
Nesting navigators
Navigation lifecycle
Next steps
Glossary of terms
用語集
Troubleshooting
Limitations
Guides
Tab navigation
Drawer navigation
Authentication flows
Supporting safe areas
Hiding tab bar in specific screens
Different status bar configuration based on route
Opening a modal
Multiple drawers
Screen options with nested navigators
Custom Android back button behavior
Preventing going back
Call a function when focused screen changes
Access the navigation prop from any component
Navigating without the navigation prop
Deep linking
Configuring links
Web support
Server rendering
Screen tracking for analytics
Themes
State persistence
Testing with Jest
Type checking with TypeScript
Redux integration
MobX State Tree integration
Upgrading from 5.x
API Reference
NavigationContainer
ServerContainer
Group
Screen
Options for screens
Route prop
Navigation prop
NavigationContext
Navigation events
Navigation state
Link
Developer tools
Elements Library
Navigators
Stack
Native Stack
Drawer
Bottom Tabs
Material Bottom Tabs
Material Top Tabs
Hooks
useNavigation
useRoute
useNavigationState
useFocusEffect
useIsFocused
useLinkTo
useLinkProps
useLinkBuilder
useScrollToTop
useTheme
Actions
CommonActions
StackActions
DrawerActions
TabActions
Build your own Navigator
Custom routers
Custom navigators
Additional Resources
Community Navigators and Libraries
More Resources
Meta
Pitch & anti-pitch
Alternative libraries
Apps using React Navigation
Contributing